/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

/**
 *
 * @author niennd
 */
public class UpdateTask implements Runnable {
    public Command updateCommand;

    public UpdateTask(Command updateCommand) {
        this.updateCommand = updateCommand;
    }

    @Override
    public void run() {
        updateCommand.execute();
    }
}